package com.example.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class TestApplication {
    @RequestMapping("/hi")
    public String sayHi() {
        log.info("hi, spring info");
        log.warn("hi, spring warn");
        log.error("hi, spring error");
        return "hi, spring boot";
    }
}
